package main

import (
	"fmt"
)

func main() {

	message := make(chan string)

	go func() {
		message <- "hello go"
	}()
	str := <-message
	fmt.Println(str)
	fmt.Println("end")
}
